﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Index.Master" AutoEventWireup="true" CodeBehind="home_Evaluation.aspx.cs" Inherits="Dryricenet.home_Evaluation" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
     <link href="CSS/home/detail.css" rel="stylesheet" />
    <link href="CSS/home/reset.css" rel="stylesheet" />
    <link href="CSS/home/index.css" rel="stylesheet" />
    <script src="JS/home/detail.js"></script>
    <script src="JS/jquery-3.6.0.js"></script>
    <style>
        * {
            margin: 0px;
            padding: 0px;
        }
        body {
            background:#ffffff;
        }
        #Evaluation {
            width: 1200px;
            margin:40px auto;
           
        }
        .Evaluation_neir {
             width: 1160px;
             height:240px;
            margin:40px auto;
            background:#f6f6f6;
        }
        .various {
            width: 1100px;
             height:120px;
             
             margin:auto;
             padding-top:80px;
        }
        .various p{
            float:left;
            margin-left:20px;
        }
        .pf {
            width:80px;
            height:20px;
        }
        .P_nr {
            display:block;
            margin-top:0px;
            float:left;
        }
        .pjnr{
            width:399px;
            height:60px;
        }
        .bottom_pj {
            width:1060px;
           margin:auto;
        }
        .tjpj {
             width:80px;
            height:30px;
            border:none;
            border-radius:4px;
            line-height:30px;
            color:#000000;
            background:#ffbd00;
           font-size:14px;
           margin-left:40%;
        }
            .tjpj:hover {
                color:#ffffff;
            background:#ffd643;
            }
        .nm {
            font-size:13px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="Evaluation">
        <h3 style="text-align:left;color: #908a8a; font-size:28px;margin-left:20px">
            快给美味评价吧！</h3>
        <div>
            <asp:DataList ID="DataList1" runat="server">
                <ItemTemplate>
                    <div class="wrap">
                        <div class="product-intro">
                            <div class="preview-wrap">
                                <div class="main-img">
                                    <asp:Image ID="Image1" runat="server" ImageUrl='<%#Eval("PicUrl") %>' Width="400" Height="400" />

                                    <div class="zoom-pup"></div>
                                    <div class="zoom-div">
                                        <asp:Image ID="Image2" runat="server" ImageUrl='<%#Eval("PicUrl") %>' />
                                    </div>
                                </div>
                                <div class="spec-list">
                                    <a href="javascript:;" class="prev"></a>
                                    <a href="javascript:;" class="next"></a>
                                </div>

                            </div>
                            <div class="itemInfo-wrap">
                                <div class="blank">
                                    <h3 class="hui"><%#Eval("FoodName") %></h3>
                                    <hr />
                                    <p>原价：<span class="p_yuan">￥<%#Eval("Price") %>元</span></p>
                                    <p>价格：<span class="p_xian">￥<%# Eval("Price") %>元</span></p>
                                    <p>食品类别：<span class="p_tyle"><%# Eval("FoodTypeName") %></span></p>
                                    <p>销售量：<%# Eval("SalesVolume") %></p>
                                    <p>库存：<%# Eval("Inventory") %></p>
                                    <p>描述：<%# Eval("Describe") %></p>
                                </div>
                            </div>
                        </div>
                    </div>
                </ItemTemplate>
            </asp:DataList>
        </div>
        <div class="Evaluation_neir">
            <h3 style="float:left; margin:20px 0px 20px 40px;">其他买家，需要你的建议哦！</h3>
            <div class="various">
                <p>美食评分：<asp:TextBox ID="txtScore" runat="server" placeholder=" 0 ~ 5 分" CssClass="pf"></asp:TextBox>  分</p>  
                <p>骑手评分：<asp:TextBox ID="txtRider" runat="server" placeholder=" 0 ~ 5 分" CssClass="pf"></asp:TextBox>  分</p> 
                <p><span class="P_nr">评价内容：</span><asp:TextBox ID="txtContent" runat="server" CssClass="pjnr" TextMode="MultiLine"></asp:TextBox></p>
                <p>评价图片：<asp:FileUpload ID="fudAppurl" runat="server" Text="电脑晒图"/></p>
                
            </div>
           <div class="bottom_pj">
               <asp:CheckBox ID="CheckBox1" runat="server" Text="匿名评价" CssClass="nm" />
                <asp:Button ID="btnPJ" runat="server" Text="提交评价" CssClass="tjpj" OnClick="Button1_Click" />
            </div>
        </div>
         
    </div>
</asp:Content>
